<!-- eslint-disable vue/multi-word-component-names -->
<!-- eslint-disable vue/no-mutating-props -->
<template>
    <labelArea label="输出饱和">
        <el-checkbox v-model="data.check">限制输出</el-checkbox>
        <el-form :disabled="!data.check" size="small" label-suffix=" :">
            <el-form-item label="源">
                <el-select v-model="data.type">
                    <el-option label="矩形" value="rect"></el-option>
                    <el-option label="圆形" value="circle"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="上限">
                <el-input v-model="data.value" placeholder=""></el-input>
            </el-form-item>
            <el-form-item label="下限">
                <el-input v-model="data.value" placeholder=""></el-input>
            </el-form-item>
            <el-form-item>
                <ctcheckbox v-model="data.ZeroCross">线性化时忽略饱和限值</ctcheckbox>
            </el-form-item>
            <labelArea label="抗饱和">
                <el-form-item label="抗饱和方法">
                    <el-select v-model="data.type">
                        <el-option label="矩形" value="rect"></el-option>
                        <el-option label="圆形" value="circle"></el-option>
                    </el-select>
                </el-form-item>
            </labelArea>
        </el-form>
    </labelArea>
    <labelArea label="积分器饱和">
        <el-checkbox v-model="data.check2">限制输出</el-checkbox>
        <el-form :disabled="!data.check2" size="small" label-width="auto" label-suffix=" :">
            <el-form-item label="上限">
                <el-input v-model="data.value" placeholder=""></el-input>
            </el-form-item>
            <el-form-item label="下限">
                <el-input v-model="data.value" placeholder=""></el-input>
            </el-form-item>
        </el-form>
    </labelArea>
</template>

<script setup>
const { data } = defineProps(['data'])

</script>


<style scoped></style>